package com.ruoyi.departmentdisease.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 【科室病种关联表】对象 department_disease
 *
 * @author ruoyi
 * @date 2025-07-02
 */
@ApiModel(description = "科室病种关联表实体")
public class DepartmentDisease extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "科室ID", example = "科室ID")
    private Long departmentId;

    @ApiModelProperty(value = "病症ID", example = "病症ID")
    @Excel(name = "病症id")
    private Long diseaseId;

    public void setDepartmentId(Long departmentId)
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId()
    {
        return departmentId;
    }

    public void setDiseaseId(Long diseaseId)
    {
        this.diseaseId = diseaseId;
    }

    public Long getDiseaseId()
    {
        return diseaseId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("departmentId", getDepartmentId())
                .append("diseaseId", getDiseaseId())
                .toString();
    }
}
